﻿using DataType.CustomEnumType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace DataType.JudgeResults
{
    public class JMPlanJudgeResult : IJudgeResult
    {
        private int obj_id;
        private ActionType action_type = ActionType.JMPlan;
        private bool is_success;
        private WeaponType weapon_id;
        private int pos;

        public int ObjID => obj_id;

        public ActionType ActionType => action_type;

        public bool IsSuccess => is_success;

        public WeaponType WeaponId { get => weapon_id; set => weapon_id = value; }
        public int Pos { get => pos; set => pos = value; }

        public JMPlanJudgeResult(int obj_id, bool is_success, WeaponType weapon_id, int pos)
        {
            this.obj_id = obj_id;
            this.is_success = is_success;
            this.weapon_id = weapon_id;
            this.pos = pos;
        }
    }
}
